home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
c_toolbx.arc
/
EXPIO.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1988-03-30
|
386 b
|
22 lines
/* expio.c - test console I/O preformance */
#include "stdio.h"
#include "cminor.h"
main()
{
int it , i , c ;
char b ;
printf("\n char value (decimal):") ;
scanf("%d",&c) ;
printf("\n no. chars to write:") ;
scanf("%d",&it) ;
for( i=1 ; i<=it ; i=i+1)
{ putchar(c) ; }
printf("\n ** thru ** \n") ;
}